package org.ccl.appcase.controller;

import org.ccl.appcase.domain.AppCase;
import org.ccl.appcase.service.IAppCaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/case")
public class AppCaseController {

    @Autowired
    private IAppCaseService appCaseService;


    @GetMapping("/test")
    private AppCase getAppCase() {
        return appCaseService.queryById(1l);
    }
}
